home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
header.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
650b
|
25 lines
/* HEADER.H Header is a bar and text over it, included into
a Carcase (border of any type) */
#ifndef __HEADER_H_
#define __HEADER_H_
#include <string.h>
#include "carcase.h"
#include "patterns.h"
#include "khbgi.h"
class Header : public Carcase
{
protected:
char* header; // Text, centered
int len; // If = 0 - calculate. Text.
int hdr_pattern; // Pattern number (PATTERN.*)
BORDERS hdr_b_type; // CARCASE.H
public:
Header(char* h, int ln = 0, BORDERS b = SHOW_BORDER, int pat = 0);
~Header() { delete header; }
void show(loc begin);
};
#endif __HEADER_H_